﻿using Dtos;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface ITreachersBll
    {
        public Task<int> AddTreachersAsync(string title, DateTime birthday, string gender, string tel, string email, string qqNumber, string address, string pwd, string photo, Guid positionsId, DateTime updateTime);
        public Task<int> UpdateTreachersAsync(Guid id, string title, DateTime birthday, string gender, string tel, string email, string qqNumber, string address, string pwd, string photo,Guid positionsId, DateTime updateTime);
        public Task<int> DeleteTreachersAsync(Guid id);
        Task<List<TreachersDto>> GetAll();
        public Task<TreachersDto> GetTreachersByIdAsync(Guid id);
        public Task<List<TreachersDto>> GetTreachersByNameAsync(string title);
    }
}
